package com.henz4help.app;

import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.widget.ImageView;

import com.henz4help.app.base.BaseActivity;


public class AlertActivity extends BaseActivity{
	
	private ImageView vScreenShot;
	
	@Override
	public void onBackPressed() {
		super.onBackPressed();
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.alert_activity);
		setComponent();
	}

	@Override
	protected void onDestroy() {
		super.onDestroy();
	}

	@Override
	protected void onPause() {
		super.onPause();
	}

	@Override
	protected void onResume() {
		super.onResume();
	}

	@Override
	protected void onStart() {
		super.onStart();
	}

	@Override
	protected void onStop() {
		super.onStop();
	}
	
	protected View.OnTouchListener mBackListener = new View.OnTouchListener() {		
		@Override
		public boolean onTouch(View v, MotionEvent event) {
			onBackPressed();
			return true;
		}
	};
	
	protected void setComponent() {
		vScreenShot = (ImageView)findViewById(R.id.vScreenShot);
		vScreenShot.setOnTouchListener(mBackListener);
	}
	
}
